<template>
  <el-col :span="span">
    <div class="resultType">
      <lableName :curLabelName="curLabelName" :isShowLabel="isShowLabel" :isRequire="isRequire"></lableName>
      <el-switch
        v-model="modelValue"
        active-value="1"
        inactive-value="0"
        active-text="找到答案"
        inactive-text="未找到答案"
        style="padding-left:5px"
      ></el-switch>
    </div>
  </el-col>
</template>
<script>
import { inputMixins } from "@/components/mixins/inputMixins";
// import lableName from "@/components/lableName";
export default {
  name:'resultType',
  mixins: [inputMixins],
  components:{
    lableName: () => import("@/components/lableName") //标题溢出样式组件
  },
  watch:{
    modelValue(val){
      this.$emit("resultTypeChange",val)
    }
  },
  data(){
    return{
      modelValue:'1',
    }
  }
}
</script>